<table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
	<tr>
		<td>
			<span style="float: left;">后台管理中心&nbsp;&raquo;&nbsp;用户管理</span>
			<span style="float: right;">
				<a href="javascript:history.go(-1);">&lt;- 返回</a>
			</span>
		</td>
	</tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<tr class="header">
		<td colspan="3">消息列表</td>
	</tr>
	<tr class="category" align="center">
		<td width="20%">时间</td>
		<td width="60%">内容</td>
		<td width="20%">状态</td>
	</tr>
<?php
foreach ($this->data as $row)
{
    $status = $this->msg_status[$row['status']];
	echo <<<EOF
	<tr>
		<td class="altbg1" align="center">{$row['createdate']}</td>
		<td class="altbg2" align="center">{$row['msg']}</td>
		<td class="altbg1" align="center">{$status}</td>
	</tr>
EOF;
}
?>
	<tr class="category">
		<td align="center" colspan="3">
			<?php echo $this->paging; ?>
		</td>
	</tr>
</table>

<form action="./?controller=vips&action=dosendmsg" method="post" id="doaccount_form">
<input type="hidden" name="uid" value="<?php echo $this->uid;?>" />
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<tr class="header">
		<td colspan="11">发送消息</td>
	</tr>
	<tr>
		<td class="altbg1">消息内容</td>
		<td class="altbg2">
			<textarea name="content" style="width:70%;height:200px;"></textarea>
		</td>
	</tr>
	<tr>
		<td class="altbg1" colspan=2 align="center">
			<input class="button" type="submit" value="发送" />
		</td>
	</tr>
</table>
</form>